package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.ShoppingCart;
import com.itheima.reggie.entity.User;

import java.util.List;
import java.util.Map;

public interface OrderService {

    Page<OrdersDto> findPage(int page, int pageSize, String number, String beginTime, String endTime);

    void submit(Orders orders, User user);

    Page<OrdersDto> userPage(int page, int pageSize);

    //void update(Orders orders);
}
